package com.jichangxiu.system.service;

import com.github.yulichang.base.MPJBaseService;
import com.jichangxiu.system.entity.dto.SysTenantMenuDto;
import com.jichangxiu.system.entity.dto.edit.EditSysTenant;
import com.jichangxiu.system.entity.po.SysTenantMenu;

import java.util.List;

/**
 * SysTenantMenuService:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:52
 */
public interface SysTenantMenuService extends MPJBaseService<SysTenantMenu> {

    /**
     * 增加 / 修改 / 删除 租户菜单关联列表
     *
     * @param editSysTenant        系统租户
     * @param sysTenantMenuDtoList 租户菜单关联对象列表
     * @return 是否成功
     */
    public Boolean addOrDelOrEdit(EditSysTenant editSysTenant, List<SysTenantMenuDto> sysTenantMenuDtoList);

}